package com.blocks57.homework.config;

import java.util.Arrays;
import java.util.List;

import org.dozer.DozerBeanMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Dozer Config
 *
 * @author Tom at 2023-10-29
 */
@Configuration
public class DozerConfig {
	@Bean(name = "com.blocks57.homework")
    public DozerBeanMapper dozerBean() {
//        List<String> mappingFiles = Arrays.asList(
//                "dozer-configration-mapping.xml"
//        );

        DozerBeanMapper dozerBean = new DozerBeanMapper();
//        dozerBean.setMappingFiles(mappingFiles);
        return dozerBean;
    }
	

}
